package com.se.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.se.domain.mysql.OptionDO;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class OptionVO {
    @JsonProperty("oId")
    Long oId;
    String info;
    public OptionVO(String info) {
        this.info = info;
    }

    public OptionVO(OptionDO optionDO) {
        this.oId = optionDO.getOId();
        this.info = optionDO.getInfo();
    }
}
